package com.javaEE.gamepigeon.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("专业")
@TableName("department")
public class Department {

    @ApiModelProperty("专业编号")
    @TableId(value = "departmentid",type= IdType.AUTO)
    private Integer departmentId;

    @ApiModelProperty("专业名")
    @TableField("departmentname")
    private String departmentName;

}
